class FileEntity {
  String? fileKey;
  String? fileName;
  int? fileSize;
  int? fileStatus;
  String? fileType;
  String? fileUrl;
  String? filenameExtension;
  String? id;
  String? name;

  FileEntity(
      {
        this.fileKey,
        this.fileName,
        this.fileSize,
        this.fileStatus,
        this.fileType,
        this.fileUrl,
        this.filenameExtension,
        this.id,
        this.name});

  FileEntity.fromJson(Map<String, dynamic> json) {
    fileKey = json['fileKey'];
    fileName = json['fileName'];
    fileSize = json['fileSize'];
    fileStatus = json['fileStatus'];
    fileType = json['fileType'];
    fileUrl = json['fileUrl'];
    filenameExtension = json['filenameExtension'];
    id = json['id'];
    name = json['name'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['fileKey'] = this.fileKey;
    data['fileName'] = this.fileName;
    data['fileSize'] = this.fileSize;
    data['fileStatus'] = this.fileStatus;
    data['fileType'] = this.fileType;
    data['fileUrl'] = this.fileUrl;
    data['filenameExtension'] = this.filenameExtension;
    data['id'] = this.id;
    data['name'] = this.name;
    return data;
  }
}
